package cn.tqfeiyang.smartadmin.business.member.request;

import cn.tqfeiyang.smartadmin.commons.pagination.PageParam;
import cn.tqfeiyang.smartadmin.commons.pagination.QueryColumn;
import cn.tqfeiyang.smartadmin.commons.pagination.QueryLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 会员等级查询请求类
 *
 * @author tqfeiyang
 * @wechat 18576228047
 * @email 1787585212@qq.com
 * @date 2024/8/15 9:56
 */
@Data
public class MemberLevelSearchDTO extends PageParam {

//    @Schema(description = "关键字")
//    @Length(max = 200, message = "关键字最多200字符")
//    @QueryColumn(logic = QueryLogic.like)
//    private String keywords;

    @Schema(description = "等级名称")
    @Length(max = 50, message = "等级名称最多50字符")
    @QueryColumn(logic = QueryLogic.like)
    private String name;

//    @Schema(description = "开始时间")
//    @QueryColumn(logic = QueryLogic.like, keywordSearch = true)
//    private LocalDate startTime;
//
//    @Schema(description = "结束时间")
//    private LocalDate endTime;
//
//    @Schema(description = "状态")
//    private Boolean status;

}
